package com.yyplatform.admin.platform.role.model.enums;

import com.yyplatform.admin.infra.model.enums.OptionEnum;

/**
 * @author sleepforests@163.com
 * <p>
 * Created on 2024/9/17 13:56
 */
public enum MenuTypeEnum implements OptionEnum<String> {

    MENU_TYPE_FOLDER("folder", "目录"),
    MENU_TYPE_MENU("menu", "菜单"),
    MENU_TYPE_BUTTON("button", "按钮"),
    MENU_TYPE_LINK("extlink", "外链"),
    ;


    private String type;
    private String label;


    MenuTypeEnum(String type, String ll) {
        this.type = type;
        this.label = ll;
    }


    @Override
    public String getValue() {
        return type;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
